*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
#custom{
    width:95%;
    height:50px;
    border-radius: 15px;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
    margin: 10px auto;
    display:flex;
    justify-content: space-between;
    .custom_left{
        width:10%;
        height:100%;
        text-align: center;
        line-height:50px;
    }
    .custom_middle{
        width:70%;
        height:100%;
    }
    .custom_right{
        width:10%;
        height:100%;
        text-align: center;
        line-height:50px;
    }
}
#list{
    width:100%;
    height:63vh;
    overflow-y: scroll;
    #message{
        width:95%;
        height:230px;
        border-radius:10px;
        box-shadow: 0 0 5px rgba(0,0,0,0.2);
        margin: 10px auto;
        #message_author{
            width:100%;
            height:50px;
            border-top-left-radius: 10px;
            border-top-right-radius: 10px;
            box-shadow: 0 2px 0 rgba(0,0,0,0.2);
            #msg_author{
                width:90%;
                height:100%;
                margin:0 auto;
                #msg_photo{
                    width:15%;
                    height:100%;
                    float:left;
                    border-radius: 50%;
                    overflow:hidden;
                    img{
                        width:100%;
                        height:100%;
                    }
                }
                #msg_con{
                    width:60%;
                    height:100%;
                    float:left;
                    line-height:25px;
                    text-indent: 1em;;
                }
            }
            #msg_detail{
                #dta_book{
                    width:90%;
                    height:120px;
                    margin:0 auto;
                    display: flex;
                    justify-content: space-between;
                    #bookleft{
                        width:40%;
                        height:100%;
                        img{
                            width:80%;
                            height:100%;
                            margin-left:20px;
                            margin-top:5px;
                        }
                    }
                    #bookright{
                        width:55%;
                        height:100%;
                        font-size:14px;
                        p{
                            margin-top:10px;
                        }
                    }
                }
                #dta_function{
                    width:90%;
                    margin:0 auto;
                    height:40px;
                    line-height:40px;
                    display:flex;
                    justify-content: space-between;
                    text-indent: 1.5em;
                }
                #dta_finish{
                    width:90%;
                    margin:0 auto;
                    height:40px;
                    line-height:40px;
                }
            }
    
        }
    }
}

#pay{
    width:100%;
    height:155px;
    border-top:2px solid lightgray;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    #func{
        width:90%;
        height:40px;
        margin:0 auto;
        line-height:40px;
        display:flex;
        justify-content: space-around;
        border-bottom:1px solid #cecece;
    }
    #payfor{
        width:95%;
        height:80px;
        margin:0 auto;
        line-height:80px;
        display:flex;
        justify-content: space-around;
    }
}
.popup{
    width:100%;
    height:300px;
    p{
        display: flex;
        justify-content: space-between;
        font-size:18px;
        padding-top:10px;
    }
    h4{
        text-align: center;
        font-size:25px;
        margin-top:20px;
        color:tomato;
    }
    button{
        width:80%;
        height:45px;
        border-radius: 10px;
        border:none;
        margin-top:15px;
        margin-left:35px;
        background:#1aad19;
        color:white;
        font-size:18px;
        box-shadow: 0 0 3px black;
    }
}

#success_img{
    width:100%;
    height:250px;
    margin-top:30px;
    #suc_img{
        width:50%;
        height:70%;
        margin:0 auto;
        text-align: center;
        .tip{
            width:100%;
            height:40px;
            text-align: center;
            line-height:40px;
            background:rgba(0,0,0,0.4);
            position:relative;
            bottom:40px;
            color:white;
        }
    }
}

#share{
    width:95%;
    height:100px;
    margin:20px auto;
    line-height:30px;
}
#over{
    width:80%;
    height:200px;
    margin:0 auto;
    button{
        width:100%;
        height:50px;
        border-radius: 10px;
        margin-top:20px;
    }
}